agents.anac.y2010.AgentSmith
Class PreferenceProfileManager

java.lang.Object
  extended by agents.anac.y2010.AgentSmith.PreferenceProfileManager

public class PreferenceProfileManager
extends java.lang.Object


Field Summary
protected  BidHistory fBidHistory
           
protected  UtilitySpace fUtilitySpace
           
 
Constructor Summary
PreferenceProfileManager(BidHistory pHist, UtilitySpace pUtilitySpace)
           
 
Method Summary
 void addBid(Bid b)
           
 Domain getDomain()
           
 java.util.ArrayList<Issue> getIssues()
           
 Evaluator getMyEvaluator(int issueID)
           
 double getMyUtility(Bid b)
          Returns the utility for a bid for me.
 IOpponentModel getOpponentModel()
           
 double getOpponentUtility(Bid b)
          Retrieves the utility of an opponent, this can be based on the bidhistory.
 void setOpponentModel(IOpponentModel fOpponentModel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fUtilitySpace

protected UtilitySpace fUtilitySpace

fBidHistory

protected BidHistory fBidHistory
Constructor Detail

PreferenceProfileManager

public PreferenceProfileManager(BidHistory pHist,
                                UtilitySpace pUtilitySpace)
Method Detail

getOpponentUtility

public double getOpponentUtility(Bid b)
Retrieves the utility of an opponent, this can be based on the bidhistory.

Parameters:
b -
Returns:

addBid

public void addBid(Bid b)

getMyUtility

public double getMyUtility(Bid b)
Returns the utility for a bid for me. Will be just a call to utilityspace.

Parameters:
b -
Returns:

getMyEvaluator

public Evaluator getMyEvaluator(int issueID)

getDomain

public Domain getDomain()

getIssues

public java.util.ArrayList<Issue> getIssues()

getOpponentModel

public IOpponentModel getOpponentModel()

setOpponentModel

public void setOpponentModel(IOpponentModel fOpponentModel)